/*
 * interrupts.c
 *
 *  Created on: 17-09-2013
 *      Author: ja
 */


//#include "config.h"
#include "stm32f10x.h"

// -----------------------------------------------------------------------------
//  TIM2_IRQHandler
// -----------------------------------------------------------------------------
void TIM2_IRQHandler(void)
{
	static int led;
	extern int tim_cnt;

	tim_cnt++;

	TIM_ClearITPendingBit(TIM2, TIM_IT_Update);

} /* TIM2_IRQHandler */


